const scList = () => import('@/views/personal/collection/list.vue')
const Layout = () => import('@/layout/index.vue')
const myKnowledge = () => import('@/views/personal/myKnowledge/index.vue')
const updatePwd = () => import('@/views/personal/personalInfo/updatePwd.vue')
export default [
  {
    path: '/personal',
    component: Layout,
    redirect: '/personal/collection/list',
    name: '个人管理',
    meta: {
      title: '个人管理',
    },
    icon: 'User',
    children: [
      {
        path: 'collection/list',
        name: '收藏管理',
        component: scList,
        meta: {
          title: '收藏管理',
        },
      },
      {
        path: 'myKnowledge',
        name: '我的知识',
        component: myKnowledge,
        meta: {
          title: '我的知识',
        },
      },
      {
        path: 'updatePwd',
        name: '修改密码',
        component: updatePwd,
        meta: {
          title: '修改密码',
        },
      },
    ],
  },
]
